
    	<?php 
    				$list = db_list_different_post_type($id, $num_post, $post_type, $orderby, $order, $metakey, $metavalue); 
                    query_posts($list);
                    if(have_posts())
                    {
                    	while (have_posts())
                    	{
                    		the_post();
                    		?>
                    	<li><a href="<?php the_permalink();?>" title="<?php the_title();?>"><?php the_title();?></a></li>
                    <?php	
                    	}                     	
                    }
                    else 
                    {
                    	echo '<li> No Post!.</li>';
                    }
                    
    	?>	
